can you use python in graph theory